<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="css/Home.css"/>
		<title></title>
	</head>
	<body>
	<div id="web">
		<!--头部-->
		<header class="clearfix">
			<!--logo-->
			<div class="head_logo fl">
				<a href="Home.html">
					<img src="img/logo_03.jpg"/>
				</a>
			</div>
			<!--下拉框-->
			<div class="selectbar fr">
				<select name="">
					<option value="广州">广州</option>
					<option value="深圳">深圳</option>
				</select>
			</div>
			<!--搜索框-->
			<div class="searchbar">
				<input type="text"/>
				<img src="img/fdj.jpg"/>
			</div>
			
			
		</header>
		
		<!--滚动部分-->
		<div class="session">
			<div class="lunbo">
				<img src="img/lunbo_13.jpg"/>
			</div>
			<div class="common-top clearfix">
				<p>
					更多
					<i class="iconfont icon-you"></i>
				</p>
				<span>
					<img src="img/iconstar.png"/>
				</span>
				<h3>
					优惠团购
				</h3>
				
			</div>
			<div class="yh-img clearfix">
				<div class="yh1 fl">
					<img src="img/youhui_03.png"/>
				</div>
				<div class="yh2 fl">
					<img src="img/youhui_05.png"/>
				</div>
				<div class="yh3 fl">
					<img src="img/youhui_10.png"/>
				</div>
				<div class="yh4 fl">
					<img src="img/youhui_12.png"/>
				</div>
			</div>
			<div class="common-top clearfix">
				<p>
					更多
					<i class="iconfont icon-you"></i>
				</p>
				<span>
					<img src="img/love.png"/>
				</span>
				<h3>
					猜你喜欢
				</h3>
			</div>
			<a href="xiangxi.html">
				<div class="guesslike">
				<div class="guesslike-img">
					<img src="img/guesslike_03.png"/>
				</div>
				<div class="guesslike-text">
					<p class="p1">万岁寿司（正佳店）</p>
					<p class="p2">[100店通用] 双人套餐</p>
					<p class="p3">￥88.00</p>
					<span class="span1"><100m</span>
					<span class="span2">已售1000</span>
				</div>
			</div>
			</a>
			
			<div class="guesslike">
				<div class="guesslike-img">
					<img src="img/guesslike_07.png"/>
				</div>
				<div class="guesslike-text">
					<p class="p1">周黑鸭（正佳店）</p>
					<p class="p2">[100店通用] 双人套餐</p>
					<p class="p3">￥88.00</p>
					<span class="span1"><100m</span>
					<span class="span2">已售1000</span>
				</div>
			</div>
			<div class="guesslike">
				<div class="guesslike-img">
					<img src="img/guesslike_03.png"/>
				</div>
				<div class="guesslike-text">
					<p class="p1">万岁寿司（正佳店）</p>
					<p class="p2">[100店通用] 双人套餐</p>
					<p class="p3">￥88.00</p>
					<span class="span1"><100m</span>
					<span class="span2">已售1000</span>
				</div>
			</div>
			<div class="guesslike">
				<div class="guesslike-img">
					<img src="img/guesslike_07.png"/>
				</div>
				<div class="guesslike-text">
					<p class="p1">周黑鸭（正佳店）</p>
					<p class="p2">[100店通用] 双人套餐</p>
					<p class="p3">￥88.00</p>
					<span class="span1"><100m</span>
					<span class="span2">已售1000</span>
				</div>
			</div>
			
		</div>
		
		<!--底部-->
		<footer>
			<ul class="clearfix">
				<li class="fl">
					<a href="Home.html">
						<i class="iconfont icon-path"></i>
						<p>首页</p>
					</a>
				</li>
				<li  class="fl">
					<a href="fenlei.html">
						<i class="iconfont icon-classify"></i>
						<p>分类</p>
					</a>
				</li>
				<li class="fl">
					<a href="faxian.html">
						<i class="iconfont icon-zhinanzhen"></i>
						<p>发现</p>
					</a>
				</li>
				<li class="fl">
					<a href="mine.html">
						<i class="iconfont icon-user"></i>
						<p>我的</p>
					</a>
				</li>
			</ul>
		</footer>
		
		
	</div>

<!--自动计算跟字体大小的脚本-->
		<script>
			//安卓的输入法虚拟键盘会影响body的高度，所以在加载时，将body的原本高度给固定住
			document.body.style.height = window.innerHeight + "px";

			/*动态改变根元素字体大小*/
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
				// 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
		</script>
	</body>

</html>